demos/gtk-demo/gtkfishbowl.c: Include gtk/fallback-c89.c
authorChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 20 Jun 2018 10:21:05 +0000 (18:21 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 26 Jun 2018 08:40:18 +0000 (16:40 +0800)
...in place of math.h, as we are using round(), which is possibly not
provided by the compiler since we don't require a C99 compiler in
GTK+-3.x and gtk/fallback-c89.c does include math.h anyways.

demos/gtk-demo/gtkfishbowl.c

index 5101210fd19ff538f44006644beda9c5a3b88447..0b17c42fc28a48902a20637127588d5bbb938ed3 100644 (file)
@@ -19,7 +19,7 @@
 
 #include "gtkfishbowl.h"
 
-#include <math.h>
+#include "gtk/fallback-c89.c"
 
 typedef struct _GtkFishbowlPrivate       GtkFishbowlPrivate;
 typedef struct _GtkFishbowlChild         GtkFishbowlChild;